<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>Sorry,出错了：<%= message %></title>
    <style>
        body{
            margin:0px;
            padding:0px;
            background-color: #383838;
        }
        .containner{
            width: 650px;
            height: auto;
            display: block;
            overflow: hidden;
            clear: both;
            margin: 120px auto 0px auto;
            background-color: #fff;
            border: 1px solid #000;
            border-radius: 9px;
            padding: 20px;
        }
        .containner h1{
            font-size:20px;
        }
        .containner .backhome{
            font-size:20px;
            display:block;
            clear:both;
            width:100%;
        }
        @media (max-width:480px) {
            /* mobile */
            body{
                margin:20px;
            }
            .containner{
                width:auto;
                padding:10px;
                margin: 100px auto 0px auto;
            }
        }
    </style>
</head>
<body>
<div class="containner">
    <h1>Sorry,出错了：<%= message %></h1>
    <a href="/" class="backhome">返回首页</a>
    <h2 style="display: none;"><%= error.status %></h2>
    <pre style="display: block;"><%= error.stack %></pre>
</div>
<script>
//    setTimeout(function(){
//        location='/';
//    },3000);
</script>
</body>
</html>